<div id="pcd" class="bm cl">
	<div class="hm">
		<p><a href="home.php?mod=space&uid=$space[uid]"><!--{avatar($space[uid],middle)}--></a></p>
		<h2 class="xs2"><a href="home.php?mod=space&uid=$space[uid]">$space[username]</a></h2>
	</div>
		<ul class="xl xl2 cl ul_list">
		<!--{if $space[self]}-->
			<li class="ul_diy"><a href="home.php?mod=space&diy=yes">{lang diy_space}</a></li>
			<li class="ul_msg"><a href="home.php?mod=space&do=wall">{lang view_message}</a></li>
			<li class="ul_avt"><a href="home.php?mod=spacecp&ac=avatar">{lang edit_avatar}</a></li>
			<li class="ul_profile"><a href="home.php?mod=spacecp&ac=profile">{lang update_profile}</a></li>
		<!--{else}-->
			<!--{eval require_once libfile('function/friend');$isfriend=friend_check($space[uid]);}-->
			<!--{if !$isfriend}-->
			<li class="ul_add"><a href="home.php?mod=spacecp&ac=friend&op=add&uid=$space[uid]&handlekey=addfriendhk_{$space[uid]}" id="a_friend_li_{$space[uid]}" onclick="showWindow(this.id, this.href, 'get', 0);">{lang add_friend}</a></li>
			<!--{else}-->
			<li class="ul_ignore"><a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$space[uid]&handlekey=ignorefriendhk_{$space[uid]}" id="a_ignore_{$space[uid]}" onclick="showWindow(this.id, this.href, 'get', 0);">{lang ignore_friend}</a></li>
			<!--{/if}-->
			<li class="ul_contect"><a href="home.php?mod=space&uid=$space[uid]&do=wall">{lang connect_me}</a></li>
			<li class="ul_poke"><a href="home.php?mod=spacecp&ac=poke&op=send&uid=$space[uid]&handlekey=propokehk_{$space[uid]}" id="a_poke_{$space[uid]}" onclick="showWindow(this.id, this.href, 'get', 0);">{lang say_hi}</a></li>
			<li class="ul_pm"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$space[uid]&touid=$space[uid]&pmid=0&daterange=2" id="a_sendpm_$space[uid]" onclick="showWindow('showMsgBox', this.href, 'get', 0)">{lang send_pm}</a></li>
		<!--{/if}-->
		</ul>
		<!--{if checkperm('allowbanuser') || checkperm('allowedituser') || $_G[adminid] == 1}-->
			<hr class="da mtn m0">
			<ul class="ptn xl xl2 cl">
				<!--{if checkperm('allowbanuser') || checkperm('allowedituser')}-->
					<li>
						<!--{if checkperm('allowbanuser')}-->
						<a href="{if $_G[adminid] == 1}admin.php?action=members&operation=ban&username=$space[username]&frames=yes{else}forum.php?mod=modcp&action=member&op=ban&uid=$space[uid]{/if}" id="usermanageli" onmouseover="showMenu(this.id)" class="showmenu" target="_blank">{lang member_manage}</a>
						<!--{else}-->
						<a href="{if $_G[adminid] == 1}admin.php?action=members&operation=search&username=$space[username]&submit=yes&frames=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$space[uid]{/if}" id="usermanageli" onmouseover="showMenu(this.id)" class="showmenu" target="_blank">{lang member_manage}</a>
						<!--{/if}-->
					</li>
				<!--{/if}-->
				
				<!--{if $_G[adminid] == 1}-->
					<li><a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$space[username]" id="umanageli" onmouseover="showMenu(this.id)" class="showmenu">{lang content_manage}</a></li>
				<!--{/if}-->
			</ul>
			<!--{if checkperm('allowbanuser') || checkperm('allowedituser')}-->
			<ul id="usermanageli_menu" class="p_pop" style="width: 80px; display:none;">
				<!--{if checkperm('allowbanuser')}-->
					<li><a href="{if $_G[adminid] == 1}admin.php?action=members&operation=ban&username=$space[username]&frames=yes{else}forum.php?mod=modcp&action=member&op=ban&uid=$space[uid]{/if}" target="_blank">{lang user_ban}</a></li>
				<!--{/if}-->
				<!--{if checkperm('allowedituser')}-->
					<li><a href="{if $_G[adminid] == 1}admin.php?action=members&operation=search&username=$space[username]&submit=yes&frames=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$space[uid]{/if}" target="_blank">{lang user_edit}</a></li>
				<!--{/if}-->
			</ul>
			<!--{/if}-->
			<!--{if $_G['adminid'] == 1}-->
				<ul id="umanageli_menu" class="p_pop" style="width: 80px; display:none;">
					<li><a href="admin.php?action=threads&users=$space[username]" target="_blank">{lang manage_post}</a></li>
					<li><a href="admin.php?action=doing&searchsubmit=1&users=$space[username]" target="_blank">{lang manage_doing}</a></li>
					<li><a href="admin.php?action=blog&searchsubmit=1&uid=$space[uid]" target="_blank">{lang manage_blog}</a></li>
					<li><a href="admin.php?action=feed&searchsubmit=1&uid=$space[uid]" target="_blank">{lang manage_feed}</a></li>
					<li><a href="admin.php?action=album&searchsubmit=1&uid=$space[uid]" target="_blank">{lang manage_album}</a></li>
					<li><a href="admin.php?action=pic&searchsubmit=1&users=$space[username]" target="_blank">{lang manage_pic}</a></li>
					<li><a href="admin.php?action=comment&searchsubmit=1&authorid=$space[uid]" target="_blank">{lang manage_comment}</a></li>
					<li><a href="admin.php?action=share&searchsubmit=1&uid=$space[uid]" target="_blank">{lang manage_share}</a></li>
					<li><a href="admin.php?action=threads&operation=group&users=$space[username]" target="_blank">{lang manage_group_threads}</a></li>
					<li><a href="admin.php?action=prune&searchsubmit=1&operation=group&users=$space[username]" target="_blank">{lang manage_group_prune}</a></li>
				</ul>
			<!--{/if}-->
		<!--{/if}-->
	</div>
</div>